package User;

import Book.Booklist;
import operations.Ioperations;

public abstract class User {
    protected String name;
    protected Ioperations[] ioperations;

    public User(String name) {
        this.name = name;
    }
    //设置操作页面
    public abstract int menu();
    public void doOperations(int choice,Booklist booklist){
        this.ioperations[choice].work(booklist);
    }
}
